package com.hbnu.test.www;

import java.util.Scanner;

public class CompareLetter2 {
    public static void main(String[] args) {
        String letter;
        Scanner scan = new Scanner(System.in);
        letter = scan.next();//scan.next()为获取单行,是获取字符串
        if(letter == "A"){//比较字符串
            System.out.print("优秀");
        }
        else if(letter == "B"){
            System.out.print("良好");
        }
        else if(letter == "C"){
            System.out.print("及格");
        }
        else if(letter == "D"){
            System.out.print("不及格");
        }
        else{
            System.out.print("未知等级");
        }
    }
}
